package hcn.protocol.base.user;

import ctd.util.annotation.DicMapping;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * Created by chuangye9527 on 16/7/15.
 * 同步中山预约挂号平台
 * <p>
 * app用户信息完善 同步调用 预约挂号平台(完善个人信息-ImproveUserInfo)
 */
@XmlRootElement(name = "Parameter")
public class UserModifyBean implements Serializable {
    private String username;
    private String telephoneno;
    private String newtelephoneno;
    private String gender;
    private String idcard;
    private String cardtype;
    private String birthday;
    @DicMapping(dic = "nationalityForReg&hcn-base-dictionary-nationality")
    private String nationality;
    private String userId;
    private boolean certificated;

    @XmlElement(name = "UserName")
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @XmlElement(name = "TelePhoneNo")
    public String getTelephoneno() {
        return telephoneno;
    }

    public void setTelephoneno(String telephoneno) {
        this.telephoneno = telephoneno;
    }

    @XmlElement(name = "Gender")
    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @XmlElement(name = "NewTelePhoneNo")
    public String getNewtelephoneno() {
        return newtelephoneno;
    }

    public void setNewtelephoneno(String newtelephoneno) {
        this.newtelephoneno = newtelephoneno;
    }

    @XmlElement(name = "IdCard")
    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    @XmlElement(name = "CardType")
    public String getCardtype() {
        return cardtype;
    }

    public void setCardtype(String cardtype) {
        this.cardtype = cardtype;
    }

    @XmlElement(name = "BirthDay")
    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    @XmlElement(name = "Nationality")
    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public boolean isCertificated() {
        return certificated;
    }

    public void setCertificated(boolean certificated) {
        this.certificated = certificated;
    }
}
